<?php

/**
 * Class Core_CatchableException
 * @package Core
 */
class Core_CatchableException extends LogicException
{
    public $extras;
    public $ignoreLog = false;

    public function __construct($message = '', $code = 1, array $extras = null) {
        $this->message = Core_I18N::_($message, 'error');
        $this->code = $code;
        $this->extras = $extras;
    }
}
